-- GENERATED SPELL FOR [Stalvan Mistmantle] --


function spell0_315(pUnit, Event) --@Curse of Stalvan,n/a--
pUnit:FullCastSpellOnTarget(3105,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_315', 1000, 1)
end

function Sorts_315(pUnit, Event)
local choix_sorts_315 = math.random(0, 0)
if choix_sorts_315 == 0 then
pUnit:RegisterEvent('spell0_315', 1, 1)
end
end

function mob315_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_315', math.random(1500, 3000), 1)
end

function mob315_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob315_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob315_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(315, 1, 'mob315_Action')
RegisterUnitEvent(315, 2, 'mob315_Leave')
RegisterUnitEvent(315, 3, 'mob315_Kill')
RegisterUnitEvent(315, 4, 'mob315_Die')
